package com.tan.lbs;


import com.tan.lbs.MainActivity.MainCoverClickListener;

import android.app.Activity;
import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TabHost;
import android.widget.TextView;

public class GamesActivity  extends TabActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.games);
 
		TabHost tabHost = getTabHost();
 
		Intent remoteIntent = new Intent();
		remoteIntent.setClass(this, GamesDownloadActivity.class);
 
		TabHost.TabSpec remoteSpec = tabHost.newTabSpec("Remote");
		Resources res = getResources();
 
		remoteSpec.setIndicator("Remote", res.getDrawable(R.drawable.remote));
 
		remoteSpec.setContent(remoteIntent);
 
		tabHost.addTab(remoteSpec);
		
		Intent localIntent = new Intent();
		localIntent.setClass(this, GamesListActivity.class);
		TabHost.TabSpec localSpec = tabHost.newTabSpec("Local");
		localSpec.setIndicator("Local", res.getDrawable(R.drawable.local));
		localSpec.setContent(localIntent);
		tabHost.addTab(localSpec);
		
		
	}
}
